package com.bawei.demo_mvp.http;

import com.bawei.demo_mvp.entity.BaseResponse;
import com.bawei.demo_mvp.entity.VideoEntity;

import java.util.List;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * @author yaotianxue
 * @description
 * @date 2025/5/12
 */
public interface ApiServer {
    //视频
    @GET("/video/findVideos")
    Observable<BaseResponse<List<VideoEntity>>> video(@Query("currentPage") int currentPage, @Query("pageSize") int pageSize);
}
